<template>
    <div class="inner-first-form">
        <div class="contents">
            <registerTitle>账号注册</registerTitle>
            <div class="login-form">
                <div class="title">填写项目信息</div>
                <div class="form">
                    <Form :label-width="80" inline>
                        <FormItem >
                            <div slot="label">文件上传</div>
                            <Upload
                                multiple
                                type="drag"
                                action="//jsonplaceholder.typicode.com/posts/">
                                <div class="uploads">
                                    <Icons type="zhaoxiangji" size="52" style="color: #3399ff"></Icons>
                                </div>
                            </Upload>
                            <Upload
                                multiple
                                type="drag"
                                action="//jsonplaceholder.typicode.com/posts/">
                                <div class="uploads">
                                    <Icons type="zhaoxiangji" size="52" style="color: #3399ff"></Icons>
                                </div>
                            </Upload>
                            <Upload
                                multiple
                                type="drag"
                                action="//jsonplaceholder.typicode.com/posts/">
                                <div class="uploads">
                                    <Icons type="zhaoxiangji" size="52" style="color: #3399ff"></Icons>
                                </div>
                            </Upload>
                        </FormItem>
                        <FormItem label="企业名称：">
                            <Input type="text" placeholder="请输入用户密码"/>
                        </FormItem>
                        <FormItem label="经营期限：">
                           <Row>
                                <i-col span="12" style="padding: 0 10px;">
                                    <DatePicker type="date" placeholder="Select date" style="width: 200px"></DatePicker>
                                </i-col>
                                <i-col span="12" style="padding: 0 10px;">
                                    <DatePicker type="date"  placement="bottom-end" placeholder="Select date" style="width: 200px"></DatePicker>
                                </i-col>
                            </Row>
                        </FormItem>
                        <FormItem label="企业简介：">
                            <Input type="text" placeholder="请输入用户密码"/>
                        </FormItem>
                        <FormItem label="所在地区：">
                            <Row>
                                    <i-col :span="8">
                                        <Select v-model="model1" style="width:200px">
                                            <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
                                        </Select>
                                    </i-col>
                                    <i-col :span="8">
                                        <Select v-model="model1" style="width:200px">
                                            <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
                                        </Select>
                                    </i-col>
                                    <i-col :span="8">
                                        <Select v-model="model1" style="width:200px">
                                            <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
                                        </Select>
                                    </i-col>
                            </Row>
                        </FormItem>
                        <FormItem label="证件号：">
                            <Input type="text" placeholder="请输入用户密码"/>
                        </FormItem>
                        <FormItem label="详细地址：">
                            <Input type="text" placeholder="请输入用户密码"/>
                        </FormItem>
                        <FormItem>
                            <Button type="primary">下一步</Button>
                        </FormItem>
                    </Form>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    name: 'innerFirstForm',
    data () {
        return {
            model1: '',
            cityList: []
        }
    }
}
</script>
<style lang="less" scoped>
.inner-first-form {
    .contents {
        width: 1082px;
        height: 635px;
        margin: 40px auto 0;
        .logo-box {
            height: 70px;
            margin-bottom: 24px;
            font-size: 30px;
            color: #333;
            img {
                display: inline-block;
                width: 175px;
                height: 70px;
                background: #f00;
                vertical-align: middle;
            }
        }
        .login-form {
            width: 100%;
            height: 588px;
            background: #fff;
            .title {
                width: 100%;
                height: 60px;
                line-height: 60px;
                padding-left: 20px;
                font-size: 16px;
                color: #333;
                border-bottom: 1px solid #E9EDF4;
                display: block;
            }
            .form {
                width: 100%;
                height: 100%;
                display: flex;
                padding:30px 70px;
                form {
                    .ivu-form-item {
                        width: 48%;
                        &:first-child {
                            display: block;
                            width: 100%;
                            /deep/.ivu-form-item-label {
                                display: block;
                                float:none;
                                text-align: left;
                            }
                            /deep/.ivu-form-item-content {
                                display: flex;
                                margin-left: 0 !important;
                                .ivu-upload {
                                    width: 280px;
                                    height: 160px;
                                    margin-right: 50px;
                                }
                            }
                        }
                        &:last-child {
                            width: 100%;
                            text-align: center;
                        }
                        .uploads {
                            height: 100%;
                            width: 100%;
                            display:flex;
                            align-items: center;
                            justify-content: center;
                            i {
                                font-size: 36px;
                            }
                        }
                    }
                }
            }
        }
    }
}
</style>